package com.zhisland.base.support.mapper.center;

import com.zhisland.bms.api.app.domain.po.center.UserCommentMark;
import org.springframework.stereotype.Repository;

/**
 * 评论mapper
 *
 * @author WangYang
 * @version 1.0
 * @datetime 2016/4/10 14:24
 */
@Repository("userCommentMapper")
public interface UserCommentMapper {

    /**
     * 插入用户评论标记
     *
     * @param userCommentMark 用户评论标记
     * @return
     */
    int insertUserCommentMark(UserCommentMark userCommentMark);

    /**
     * 更新用户评论标记
     *
     * @param userCommentMark 用户评论标记
     * @return
     */
    int updateUserCommentMark(UserCommentMark userCommentMark);

    /**
     * 获取用户评论标记
     *
     * @param userId 用户ID
     * @return
     */
    UserCommentMark selectUserCommentMark(Long userId);

}
